package com.sn.author.domain.dto;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
public class AuthorDTO implements Serializable {

    private boolean valid;

    private String sing;

    private Long time;

    public AuthorDTO(boolean valid, Long time) {
        this.valid = valid;
        this.time = time;
    }

    public AuthorDTO(boolean valid, String sing, Long time) {
        this.valid = valid;
        this.sing = sing;
        this.time = time;
    }
}
